package net.optix;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class IPMain extends BasicActivity implements OnClickListener {

	private Button loginButton;

	public void onCreate(Bundle bundle) {
		super.onCreate(bundle);

		loginButton = (Button) this.findViewById(R.id.Button01);
		loginButton.setOnClickListener(this);
	}

	
	public void onClick(View v) {
		Log.v("点击按钮", "hello,world");
		Intent	intent	=	new Intent(this,Login.class);
		intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
		startActivity(intent);
	}

}